package com.xuan.webfinally.mapper;

import com.xuan.webfinally.entity.SlopeRadarMonitor;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xuan.webfinally.entity.sbtongji;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 边坡媒体信息表 Mapper 接口
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
public interface SlopeRadarMonitorMapper extends BaseMapper<SlopeRadarMonitor> {


    @Select("select count(*) from slope_camera where dept_id = #{deptId}")
    int selectShipinjiance(Long deptId);

    @Select("select count(*) from slope_camera")
    int selectShipinjiances();

}
